#if 0

#include <iostream>
#include <string>
using namespace std;

int main()
{
	//1
	string s1 = "hello world";
	string s2 = s1;
	string s3;
	s3= 'c';
	string s4;
	s4.assign("hello");
	string s5;
	s5.assign(s5);
	string s6;
	s6.assign("hello", 3);
	string s7;
	s7.assign(10, 'f');
	cout << "s1=" << s1 << endl;
	cout << "s2=" << s2 << endl;
	cout << "s3=" << s3 << endl;
	cout << "s4=" << s4 << endl;
	cout << "s5=" << s5 << endl;
	cout << "s6=" << s6 << endl;
	cout << "s7=" << s7 << endl;


	system("pause");
	return 0;
}
/*
s1=hello world
s2=hello world
s3=c
s4=hello
s5=
s6=hel
s7=ffffffffff
*/
#endif